﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class CharacterModelViewer : System.Web.UI.Page
{
    protected override void OnInit(EventArgs e)
    {
        btnRender.Click += new EventHandler(btnRender_Click);
        base.OnInit(e);
    }

    void btnRender_Click(object sender, EventArgs e)
    {
        characterModelViewer.Name = txtName.Text;
        characterModelViewer.Realm = txtRealm.Text;
        characterModelViewer.Region = Wowhead.Common.Region.Europe;
        characterModelViewer.DataBind();
    }

    protected void Page_Load(object sender, EventArgs e)
    {

    }
}
